<?php
/**
 * Created by JetBrains PhpStorm.
 * User: vtrinh
 * Date: 10/24/11
 * Time: 4:25 PM
 * To change this template use File | Settings | File Templates.
 */
 
class DB{
	private static $db;

	/**
	 * @static
	 * @return PDO
	 */
	public static function instance(){
		if(!self::$db){
			self::$db = new PDO('mysql:host=localhost;dbname=vinhtrin_blobs','vinhtrin','Zynga14*');
		}

		return self::$db;
	}
}